package com.example.job.test;

import com.example.job.annotations.Job;
import com.example.job.annotations.JobExecute;


import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @Classname JobOne
 * @Description TODO
 * @Date 2022/8/3 14:09
 * @Created by XiongXiong
 * @Author: X.I.O
 */
@Job
public class JobOne {

    @JobExecute(100)
    public void JobOneTest(){
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        System.out.println("【start-system】"+this.getClass()+"  "+dateFormat.format(new Date()));
    }
}
